package com.kongxx.struts2study.validation.web.action;

import com.kongxx.struts2study.validation.model.MyObject;
import com.opensymphony.xwork2.ActionSupport;

public class ValidationAction extends ActionSupport {

	private static final long serialVersionUID = 1L;
	
	private MyObject myObject;
	
	public String toValidation() throws Exception {
		return SUCCESS;
	}

	public String doValidation() throws Exception {
		return SUCCESS;
	}
	
	public MyObject getMyObject() {
		return myObject;
	}

	public void setMyObject(MyObject myObject) {
		this.myObject = myObject;
	}
}
